package cn.sofwin.day0120.T2;

import java.util.Scanner;

public class CustomerBizTest {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        CustomerBiz s = new CustomerBiz();

        String c = "y";
        while ("y".equals(c)){
            System.out.print("请输入客户姓名:");

            String name = sc.next();
            s.addName(name);

            System.out.print("继续输入吗?(y/n)");
           c=sc.next();
        }



        s.showName();
    }
}
